package com.song.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName : Tiger
 * @Author : 司猫子
 * @Date: 2021/2/28 20:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component("myTiger")
public class Tiger {
    @Value("${tiger.name}")
    private String name;
    @Value("${tiger.age}")
    private Integer age;
}
